import com.zhenzi.sms.ZhenziSmsClient;

import java.util.HashMap;
import java.util.Map;

public class CodeUtils {

    public static void main(String[] args) throws Exception {
        ZhenziSmsClient client = new ZhenziSmsClient("https://sms_developer.zhenzikj.com", "107660", "NWQyOGQ0ZjctMTBhNC00OWIxLWFhMjAtMjU1ZDUzNDI2YTU3");
        Map<String, String> params = new HashMap<String, String>();
        params.put("message", "验证码为: 1123");
        params.put("number", "15117580814");
        params.put("messageId","3011");
        String result = client.send("15117580814", "验证码: 1123,你正在注册划水商城账号，验证码在5分钟内有效","3011");
        System.out.println(result);
    }
}
